package com.whty.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whty.common.base.BaseEntity;
import com.whty.mariotools.excle.ExcelField;
import com.whty.mariotools.excle.ExcelField.Align;
import java.util.Date;

/**
 * 入库明细表 gh_depotHeadItem
 * 
 * @author mario
 * @date 2018-11-02
 */
public class DepotHeadItem extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 入库批次号 */
	private String depotHeadNo;
	/** UID */
	private String uid;
	/** 标签序列号 */
	private String labelSerialNumber;
	/** 发行状态 */
	private String releaseStatus;
	/** 分配状态 */
	private String allocationStatus;
	/** 分配时间 */
	private Date allocationTime;
	/** 厂商编号 */
	private String gardenNo;
	/** 分配批次 */
	private String allocationBatch;
	/** 创建时间 */
	private Date createTime;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setDepotHeadNo(String depotHeadNo) 
	{
		this.depotHeadNo = depotHeadNo;
	}

	public String getDepotHeadNo() 
	{
		return depotHeadNo;
	}
	public void setUid(String uid) 
	{
		this.uid = uid;
	}

	@ExcelField(title="UID", attrName="uid", align=Align.CENTER, sort=10)
	public String getUid() 
	{
		return uid;
	}
	public void setLabelSerialNumber(String labelSerialNumber) 
	{
		this.labelSerialNumber = labelSerialNumber;
	}
    
	@ExcelField(title="标签序列号", attrName="labelSerialNumber", align=Align.CENTER, sort=10)
	public String getLabelSerialNumber() 
	{
		return labelSerialNumber;
	}
	public void setReleaseStatus(String releaseStatus) 
	{
		this.releaseStatus = releaseStatus;
	}

	public String getReleaseStatus() 
	{
		return releaseStatus;
	}
	public void setAllocationStatus(String allocationStatus) 
	{
		this.allocationStatus = allocationStatus;
	}

	public String getAllocationStatus() 
	{
		return allocationStatus;
	}
	public void setAllocationTime(Date allocationTime) 
	{
		this.allocationTime = allocationTime;
	}

	public Date getAllocationTime() 
	{
		return allocationTime;
	}
	public void setGardenNo(String gardenNo) 
	{
		this.gardenNo = gardenNo;
	}

	public String getGardenNo() 
	{
		return gardenNo;
	}
	public void setAllocationBatch(String allocationBatch) 
	{
		this.allocationBatch = allocationBatch;
	}

	public String getAllocationBatch() 
	{
		return allocationBatch;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("depotHeadNo", getDepotHeadNo())
            .append("uid", getUid())
            .append("labelSerialNumber", getLabelSerialNumber())
            .append("releaseStatus", getReleaseStatus())
            .append("allocationStatus", getAllocationStatus())
            .append("allocationTime", getAllocationTime())
            .append("gardenNo", getGardenNo())
            .append("allocationBatch", getAllocationBatch())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
